Skip to content

Sequence form#595

Merged
tturocy merged 4 commits intomasterfrom
sequence_form
Nov 12, 2025
Merged

Sequence form#595
tturocy merged 4 commits intomasterfrom
sequence_form

Conversation

@StephenPasteris
Copy link
Copy Markdown
Collaborator

Issue #593

Makefile.am Outdated
src/gambit.h \
src/games/gameseq.cc \
src/games/gameseq.h \
src/games/indexproduct.h \
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can just leave indexproduct.h in enumpoly.


SequencesWrapper BehaviorSupportProfile::GetSequences() const
{
auto sequences = GetSequenceForm()->GetSequences();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get by with these being one-liners rather than defining the variable?

namespace Gambit {

class GameSequenceForm;
struct GameSequenceRep;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GameSequenceRep should be a class (it'll be used as one in later development)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The conceptual model for sequences is very similar to that for strategies (in terms of how we represent them, generate them on demand, and so on). So we want to evolve sequences in that direction.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make the GameSequenceRep members private now as a step in this direction.

@tturocy tturocy merged commit 9995912 into master Nov 12, 2025
35 of 37 checks passed
@tturocy tturocy deleted the sequence_form branch November 12, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants